package com.quanxiaoha.weblog.web.model.vo.messageWall;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 添加留言请求VO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AddMessageWallReqVO {
    @NotBlank(message = "昵称不能为空")
    private String nickname;

    @NotBlank(message = "留言内容不能为空")
    private String content;

    @NotBlank(message = "颜色不能为空")
    private String color;
}